package com.evan.design.creational.factorymethod;

/**
 * @author :liujiapeng01
 * @date :2019-03-21 13:35
 **/
public class Test {
    public static void main(String[] args) {
        VideoFactory videoFactory = new JavaVideoFactory();
        Video video = videoFactory.getVideo();
        video.produce();
        videoFactory = new PythonVideoFactory();
        video = videoFactory.getVideo();
        video.produce();
    }
}
